package com.pixiv.service.Impl;

import com.pixiv.DAO.CommitMapping;
import com.pixiv.Entity.Commit;
import com.pixiv.service.CommitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommitServiceImpl implements CommitService {

    @Autowired
    private CommitMapping commitMapping;

    @Override
    public List<Commit> getCommits(String uuid) {
        return commitMapping.getCommits(uuid);
    }
}
